Fix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 6 Mar 2006 03:47:06 +0000 (03:47 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 6 Mar 2006 03:47:06 +0000 (03:47 +0000)
commit459eeebde91a906c8a6ca63af416c41c69b2695c
tree22e83258c8d94a672817c73d46b41621c5c59475
parent33f840d24430afed668b864cf7ed91ba2b5b6c67
Fix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)

2006-03-05  Matthias Clasen  <mclasen@redhat.com>

Fix handling of image-only buttons.  (#332985, Kalle
Vahlmann, #333555)

* gtk/gtkbutton.c (gtk_button_construct_child): Don't
return early if there an image to show.
(show_image): Always return TRUE if there is no text.
gtk/gtkbutton.c